package com.imooc.imoocbilibili.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 限制访问的角色
 *
 * @author 江黎
 * @since 2022-04-18
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
@Component
public @interface ApiLimitRole {

    String[] limitedRoleCodeList() default {};
}
